package com.maiji.cloud.entities.login;


import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
 * 用户所处阶段天数数据表
 * Description:  
 * @author zhanglr  
 * @date 2019年11月22日
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "user_stage")
@TableName("user_stage")
public class UserStageEntity {
	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId;
	
	@Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String userId;//用户id
	
	@Column(name = "current_stage", type = MySqlTypeConstant.INT, length = 2)
	private Integer currentStage;//当前所处阶段
	
	@Column(name = "is_extension", type = MySqlTypeConstant.INT, length = 2, defaultValue = "0")
	private Integer isExtension;//是否延长此阶段时间
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
    private Date inTime;  //加入此阶段的时间

}
